package vip.web3.admin.sys.service.biz;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.web3.admin.sys.entity.biz.AUserEntity;
import vip.web3.admin.sys.form.user.AuthAuditForm;
import vip.web3.admin.sys.form.user.AuthPageForm;
import vip.web3.admin.sys.form.user.UserPageForm;
import vip.web3.admin.sys.vo.biz.AuthVo;
import vip.web3.admin.sys.vo.biz.export.ExUserVo;
import vip.web3.common.utils.PageUtils;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * aut-horlilei
 */
public interface IAUserService extends IService<AUserEntity> {

    PageUtils listUser(Map<String, Object> params, UserPageForm form);

    AuthVo getAuthInfo(Integer id);

    void authAudit(AuthAuditForm form);

    void edit(AUserEntity form);

    PageUtils pageAuthInfo(Map<String, Object> params, AuthPageForm form);

    void teamReward();

    void personalReward(AUserEntity user, List<BigDecimal> limitList, List<BigDecimal> rateList);

    void quarterReward(Integer userId);

    void passAuth(List<Integer> ids);

    void statusOff(List<Integer> ids);

    List<ExUserVo> export(Map<String, Object> params, UserPageForm form);
}
